
#include "LWP.h"
#include "HTTP.h"
#include "HTTP/Cookie.h"

#include <iostream>
#include <string>

using namespace std;
using namespace LWP;
using namespace HTTP;

int main()
{
	UserAgent ua;
	ua.cookie_jar();
	
	for(int i = 0; i < 3; ++i)
	{
		ResponseObject resp = ua.get("http://127.0.0.1/phppro/session.php");
		cout<<resp.content()<<endl;
		//cout<<resp.get_data()<<endl;

	}
	
}


